//
//  PersonUserFootView.m
//  diaoyuren
//
//  Created by 钓鱼人 on 16/3/17.
//  Copyright © 2016年 game. All rights reserved.
//

#import "PersonUserFootView.h"

@interface PersonUserFootView ()
@property (weak, nonatomic) IBOutlet UIButton *myNewa;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *MynewsWidth;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *commetWidth;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *commetHight;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *replayWidth;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *replayHight;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *pramisHight;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *pramisWidth;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *newsHight;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *newsWidth;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *replayOffcet;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *parmisOffcet;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *BottomDd;
@property (weak, nonatomic) IBOutlet UILabel *commnetLab;
@property (weak, nonatomic) IBOutlet UILabel *replylab;
@property (weak, nonatomic) IBOutlet UILabel *pramislab;
@property (weak, nonatomic) IBOutlet UILabel *newsLab;

@end

@implementation PersonUserFootView


-(void)awakeFromNib{
    self.MynewsWidth.constant = 200;
    
    self.myNewa.titleLabel.font = font(SCREEN_WIDTH*0.045);
    self.commetWidth.constant = SCREEN_HEIGHT*0.05;
    self.commetHight.constant = SCREEN_HEIGHT*0.045;
    
    self.replayHight.constant = SCREEN_HEIGHT*0.045;
    self.replayWidth.constant = SCREEN_HEIGHT*0.05;
    
    self.pramisHight.constant = SCREEN_HEIGHT*0.045;
    self.pramisWidth.constant = SCREEN_HEIGHT*0.045;
    
    self.newsHight.constant = SCREEN_HEIGHT*0.045;
    self.newsWidth.constant = SCREEN_HEIGHT*0.045;
    
    self.replayOffcet.constant = -SCREEN_WIDTH/8;
    
    self.parmisOffcet.constant = SCREEN_WIDTH/8;
    
    self.BottomDd.constant = SCREEN_HEIGHT*0.02;
    
    self.commnetLab.font = font(SCREEN_WIDTH*0.04);
     self.replylab.font = font(SCREEN_WIDTH*0.04);
     self.pramislab.font = font(SCREEN_WIDTH*0.04);
     self.newsLab.font = font(SCREEN_WIDTH*0.04);
}

@end
